<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage form-control" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name" data-rule="required"  class="form-control form-control" name="row[user_name]" type="text" value="{$row.user_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_name" data-rule="required"  class="form-control form-control" name="row[store_name]" type="text" value="{$row.store_name}">
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-store_type" data-rule="required" class="form-control selectpicker" name="row[store_type]">
                {foreach name="storeTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.store_type"}selected{/in} >{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="storeStatusList" item="vo"}
            <label for="row[store_status]-{$key}"><input id="row[store_status]-{$key}"   name="row[store_status]" type="radio" value="{$key}" {in name="key" value="$row.store_status"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>

        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_reason" data-rule="required" class="form-control form-control"  name="row[store_reason]" type="text" value="{$row.store_reason}">
        </div>
    </div>-->
  <!--  <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reason_is_see')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-reason_is_see" data-rule="required" class="form-control selectpicker" name="row[reason_is_see]">
                {foreach name="reasonIsSeeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.reason_is_see"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
   -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_phone" data-rule="required" class="form-control form-control"   name="row[store_phone]" type="text" value="{$row.store_phone}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control form-control" name="row[mobile]"  type="text" value="{$row.mobile}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qq" data-rule="required" class="form-control form-control" name="row[qq]"  type="text" value="{$row.qq}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx" data-rule="required" class="form-control form-control" name="row[wx]"  type="text" value="{$row.wx}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_licence_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-pic" class="form-control" size="50" name="row[business_licence_number]" type="text" value="{$row['business_licence_number']}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-pic" class="btn btn-danger plupload" data-input-id="c-pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-pic" class="btn btn-primary fachoose" data-input-id="c-pic" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-pic"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-pic"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_license')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[business_license]" type="text" value="{$row['business_license']}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_describe')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-apply_describe" data-rule="required" class="form-control  form-control" rows="5" name="row[apply_describe]" cols="50">{$row.apply_describe}</textarea>
        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agreement')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-agreement" data-rule="required" class="form-control selectpicker" name="row[agreement]">
                {foreach name="agreementList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.agreement"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qrcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-qrcode" class="form-control" size="50" name="row[qrcode]" type="text" value="{$row['qrcode']}" >
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-qrcode" class="btn btn-danger plupload" data-input-id="c-qrcode" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-qrcode"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-qrcode" class="btn btn-primary fachoose" data-input-id="c-qrcode" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-qrcode"></ul>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_label')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-label" class="form-control" size="50" name="row[store_label]" type="text" value="{$row['store_label']}" >
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-label" class="btn btn-danger plupload" data-input-id="c-label" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-label"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-label" class="btn btn-primary fachoose" data-input-id="c-label" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-label"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-label"></ul>
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_deposit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_deposit" data-rule="required" class="form-control form-control" step="0.01" name="row[store_deposit]" type="number" value="{$row.store_deposit}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_brief')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_brief" data-rule="" class="form-control form-control" name="row[store_brief]" type="text" value="{$row.store_brief}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_time" data-rule="required" class="form-control"  data-use-current="true" name="row[store_time]" type="text" value="{$row.store_time|datetime}">
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Customer_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customer_phone" data-rule="required" class="form-control form-control" name="row[customer_phone]" type="text" value="{$row.customer_phone}">
        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_turnover')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_turnover" data-rule="required" class="form-control form-control" step="0.01" name="row[store_turnover]" type="number" value="{$row.store_turnover}">
        </div>
    </div>-->
  <!--  <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_order_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_order_num" data-rule="required" class="form-control form-control" name="row[store_order_num]" type="number" value="{$row.store_order_num}">
        </div>
    </div>-->

   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sell_pwd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sell_pwd" data-rule="required" class="form-control form-control" name="row[sell_pwd]" type="text" value="{$row.sell_pwd}">
        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_pic')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-store_pic" class="form-control" size="50" name="row[store_pic]" type="text" value="{$row['store_pic']}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-store_pic" class="btn btn-danger plupload" data-input-id="c-store_pic" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-store_pic"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-store_pic" class="btn btn-primary fachoose" data-input-id="c-store_pic" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-store_pic"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-store_pic"></ul>
        </div>
    </div>-->

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
